<?if(!POSTIE && MEMBER):?>
<form id="form" class="shareForm" method="POST" action="/json/postie/share">
    <div class="formLineLight">
        <span class="textarea"><textarea id="title" name="title" tabindex="1"></textarea></span>
        <span class="clear"></span>
    </div>
    <div class="formLineDark">
        <span class="submit">
            <span id="loader" class="loader"><img src="/themes/<?=THEME?>/images/loader.gif" alt="loader" /></span>
            <input name="application" type="hidden" value="profile" />
            <input id="submit" class="submit" type="submit" value="<?=_('Share')?>" tabindex="2" />
            <span class="clear"></span>
        </span>
    <span class="clear"></span>
    </div>
</form>
<div class="clear"></div>
<div id="share">
    <?
    if($data->postie->share) foreach ($data->postie->share as $i){
    ?>
    <div class="share">
        <?
        $p = $i->sender;
        include 'apps/profile/template/mini.html';
        ?>
        <p class="shareContent">
            <a class="senderName" href="/profile/<?=$i->sender->ID?>" title="<?=$i->sender->name?>"><?=$i->sender->name?></a>
            <?=nl2br($i->title)?>
        </p>
        <div class="shareDate"><?=common::date($i->date)?></div>
        <div class="clear"></div>
    </div>
    <? } ?>
</div>
<script type="text/javascript">tool.form();</script>
<?endif;?>